import { post, postParams } from '@/utils/request'

export default {
  login: postParams('/login'),
  register: postParams('/register'),
  sendSms: postParams('/common/send/smsCode'),
  upload: post('/common/upload'),
}
